class Person{
  String name;
  Person(this.name);
  Person.withName(this.name);
}

class Student extends Person{
  int age;
  Student(String name,int age):age=age,super.withName(name);
}

void main(){
  var student = new Student('Tom',19);
  print(student.name);
  print(student.age);
}
